From: Eli Zaretskii Date: Mon, 2 Nov 2020 19:47:18 +0000 (+0200) Subject: Explain last change X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~4500 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a2bddd77108c622cd88eb2d0468d9236bf8f33a5;p=emacs.git Explain last change * lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Explain the workaround with discarding stderr. (Bug#44318) --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 413d8802a16..1cd17b11ca8 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1220,6 +1220,8 @@ Internal use.") (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'" "enchant-lsmod\\1" ispell-program-name) + ;; We discard stderr here because enchant-lsmod can emit + ;; unrelated warnings that will confuse us. nil '(t nil) nil args))) (defun ispell--get-extra-word-characters (&optional lang)